package niconama04.client;

import java.util.List;

import niconama04.shared.data.Category;
import niconama04.shared.data.CategoryOriginal;
import niconama04.shared.data.Original;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface RegistOriginalServiceAsync {
	
	void getOriginals(AsyncCallback<List<Original>> callback);

	void getCategorys(AsyncCallback<List<Category>> callback);
	
	void getSubOriginals(Long x_categoryKey, AsyncCallback<List<Original>> callback);

	void getSubCategorys(Long x_originalKey, AsyncCallback<List<Category>> callback);

	void registCategoryOriginal(CategoryOriginal x_categoryOriginal, AsyncCallback<CategoryOriginal> callback);

	void deleteCategoryOriginal(CategoryOriginal x_categoryOriginal, AsyncCallback<Void> callback);
}
